package com.fita.entity.wallet;

/**
 * 分销奖励状态
 *
 * @description:
 * @author: 11200
 * @date: 2019/7/1
 */
public enum DistributionRewardRecordStatus {

    CANCEL("已取消"),

    CONSUMED("已核销"),

    UNCONSUMED("未核销");

    private String description;

    /**
     *
     * @param description
     */
    DistributionRewardRecordStatus(String description) {
        this.description = description;
    }

    /**
     *
     * @return
     */
    public String getDescription() {
        return description;
    }

    public boolean isConsumed(){
        return this.equals(CONSUMED);
    }

    public boolean isUnconsumed(){
        return this.equals(UNCONSUMED);
    }

    public boolean isCancel(){return this.equals(CANCEL);}
}
